package com.lkhd.manage.pojo;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

@Table(name = "`activity`")
public class Activity implements Serializable{
    @Id
    @Column(name = "`activityId`")
    private Long activityid;

    /**
     * 省
     */
    @Column(name = "`provinceId`")
    private Long provinceid;

    /**
     * 市
     */
    @Column(name = "`cityId`")
    private Long cityid;

    /**
     * 区
     */
    @Column(name = "`areaId`")
    private Long areaid;

    @Column(name = "`name`")
    private String name;

    @Column(name = "`browseNum`")
    private Integer browsenum;

    @Column(name = "`collectionNum`")
    private Integer collectionnum;

    @Column(name = "`maxNum`")
    private Integer maxnum;

    @Column(name = "`activityNum`")
    private Integer activitynum;

    /**
     * 最大购票数
     */
    @Column(name = "`maxBuy`")
    private Integer maxbuy;

    @Column(name = "`descs`")
    private String descs;

    @Column(name = "`isPublic`")
    private Integer ispublic;

    @Column(name = "`startPrice`")
    private Double startprice;

    /**
     * 线上 线下
     */
    @Column(name = "`type`")
    private Integer type;

    /**
     * 0 上架 1 下架 
     */
    @Column(name = "`status`")
    private Integer status;

    /**
     * 1时间段 2每天 3每一周的一天 4每一个月的一天
     */
    @Column(name = "`dateStatus`")
    private Integer datestatus;

    @Column(name = "`startDate`")
    private Date startdate;

    @Column(name = "`endDate`")
    private Date enddate;

    @Column(name = "`weekDay`")
    private Integer weekday;

    @Column(name = "`monthDay`")
    private Integer monthday;

    @Column(name = "`oderby`")
    private Integer oderby;

    @Column(name = "`addrXY`")
    private String addrxy;
    
    @Column(name = "`addrDesc`")
    private String addrdesc;

    @Column(name = "`createDate`",insertable=false)
    private Date createdate;

    @Column(name = "`updataDate`",updatable=false)
    private Date updatadate;

    /**
     * @return activityId
     */
    public Long getActivityid() {
        return activityid;
    }

    /**
     * @param activityid
     */
    public void setActivityid(Long activityid) {
        this.activityid = activityid;
    }

    /**
     * 获取省
     *
     * @return provinceId - 省
     */
    public Long getProvinceid() {
        return provinceid;
    }

    /**
     * 设置省
     *
     * @param provinceid 省
     */
    public void setProvinceid(Long provinceid) {
        this.provinceid = provinceid;
    }

    /**
     * 获取市
     *
     * @return cityId - 市
     */
    public Long getCityid() {
        return cityid;
    }

    /**
     * 设置市
     *
     * @param cityid 市
     */
    public void setCityid(Long cityid) {
        this.cityid = cityid;
    }

    /**
     * 获取区
     *
     * @return areaId - 区
     */
    public Long getAreaid() {
        return areaid;
    }

    /**
     * 设置区
     *
     * @param areaid 区
     */
    public void setAreaid(Long areaid) {
        this.areaid = areaid;
    }

    /**
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return browseNum
     */
    public Integer getBrowsenum() {
        return browsenum;
    }

    /**
     * @param browsenum
     */
    public void setBrowsenum(Integer browsenum) {
        this.browsenum = browsenum;
    }

    /**
     * @return collectionNum
     */
    public Integer getCollectionnum() {
        return collectionnum;
    }

    /**
     * @param collectionnum
     */
    public void setCollectionnum(Integer collectionnum) {
        this.collectionnum = collectionnum;
    }

    /**
     * @return maxNum
     */
    public Integer getMaxnum() {
        return maxnum;
    }

    /**
     * @param maxnum
     */
    public void setMaxnum(Integer maxnum) {
        this.maxnum = maxnum;
    }

    /**
     * @return activityNum
     */
    public Integer getActivitynum() {
        return activitynum;
    }

    /**
     * @param activitynum
     */
    public void setActivitynum(Integer activitynum) {
        this.activitynum = activitynum;
    }

    /**
     * 获取最大购票数
     *
     * @return maxBuy - 最大购票数
     */
    public Integer getMaxbuy() {
        return maxbuy;
    }

    /**
     * 设置最大购票数
     *
     * @param maxbuy 最大购票数
     */
    public void setMaxbuy(Integer maxbuy) {
        this.maxbuy = maxbuy;
    }

    /**
     * @return descs
     */
    public String getDescs() {
        return descs;
    }

    /**
     * @param descs
     */
    public void setDescs(String descs) {
        this.descs = descs;
    }

    /**
     * @return isPublic
     */
    public Integer getIspublic() {
        return ispublic;
    }

    /**
     * @param ispublic
     */
    public void setIspublic(Integer ispublic) {
        this.ispublic = ispublic;
    }

    /**
     * @return startPrice
     */
    public Double getStartprice() {
        return startprice;
    }

    /**
     * @param startprice
     */
    public void setStartprice(Double startprice) {
        this.startprice = startprice;
    }

    /**
     * 获取线上 线下
     *
     * @return type - 线上 线下
     */
    public Integer getType() {
        return type;
    }

    /**
     * 设置线上 线下
     *
     * @param type 线上 线下
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * 获取-1 下架 0 正常 
     *
     * @return status - -1 下架 0 正常 
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置-1 下架 0 正常 
     *
     * @param status -1 下架 0 正常 
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取1时间段 2每天 3每一周的一天 4每一个月的一天
     *
     * @return dateStatus - 1时间段 2每天 3每一周的一天 4每一个月的一天
     */
    public Integer getDatestatus() {
        return datestatus;
    }

    /**
     * 设置1时间段 2每天 3每一周的一天 4每一个月的一天
     *
     * @param datestatus 1时间段 2每天 3每一周的一天 4每一个月的一天
     */
    public void setDatestatus(Integer datestatus) {
        this.datestatus = datestatus;
    }

    /**
     * @return startDate
     */
    public Date getStartdate() {
        return startdate;
    }

    /**
     * @param startdate
     */
    public void setStartdate(Date startdate) {
        this.startdate = startdate;
    }

    /**
     * @return endDate
     */
    public Date getEnddate() {
        return enddate;
    }

    /**
     * @param enddate
     */
    public void setEnddate(Date enddate) {
        this.enddate = enddate;
    }

    /**
     * @return weekDay
     */
    public Integer getWeekday() {
        return weekday;
    }

    /**
     * @param weekday
     */
    public void setWeekday(Integer weekday) {
        this.weekday = weekday;
    }

    /**
     * @return monthDay
     */
    public Integer getMonthday() {
        return monthday;
    }

    /**
     * @param monthday
     */
    public void setMonthday(Integer monthday) {
        this.monthday = monthday;
    }

    /**
     * @return oderby
     */
    public Integer getOderby() {
        return oderby;
    }

    /**
     * @param oderby
     */
    public void setOderby(Integer oderby) {
        this.oderby = oderby;
    }

    /**
     * @return addrXY
     */
    public String getAddrxy() {
        return addrxy;
    }

    /**
     * @param addrxy
     */
    public void setAddrxy(String addrxy) {
        this.addrxy = addrxy;
    }

    /**
     * @return addrDesc
     */
    public String getAddrdesc() {
        return addrdesc;
    }

    /**
     * @param addrdesc
     */
    public void setAddrdesc(String addrdesc) {
        this.addrdesc = addrdesc;
    }

    /**
     * @return createDate
     */
    public Date getCreatedate() {
        return createdate;
    }

    /**
     * @param createdate
     */
    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    /**
     * @return updataDate
     */
    public Date getUpdatadate() {
        return updatadate;
    }

    /**
     * @param updatadate
     */
    public void setUpdatadate(Date updatadate) {
        this.updatadate = updatadate;
    }
}